]> dgit.raspbian.org Git - gnome-shell.git/commit
st/theme-node-drawing: Don't skip square top left inset shadow corners
authorSebastian Keller <skeller@gnome.org>
Mon, 21 Oct 2024 19:53:14 +0000 (21:53 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Tue, 5 Nov 2024 11:14:50 +0000 (11:14 +0000)
commit75fa8c8eadcc61b5e5efd6ec5e13a97f6037373c
tree4b7cae7c182bd7f60ade8595bd35435e0f83f827
parent31f56db2151e3b5bab0f7caea121ca00a4fdfb8a
st/theme-node-drawing: Don't skip square top left inset shadow corners

When the inner radius of the top left corner is 0, the corresponding arc
does not get drawn, resulting in a path going from the bottom left
corner to the top right corner when the path is closed.

Fix this by always including a line_to from the bottom left to the top
left corner.

Fixes: dde13b30c ("st/theme-node-drawing: Trace the correct path for inset box shadows")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7996
src/st/st-theme-node-drawing.c